<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <count-com></count-com>
    <aaa></aaa>
    <my-count-data></my-count-data>
  </div>
  <script src="./vue.js"></script>
  <script>
      Vue.component("countCom",{
          data() {
              return {
                  msg:'hello vue countCom'
              }
          },
          template:`<h3 style="color: gold;">{{msg}}</h3>`
      })

      Vue.component("aaa",{
          data() {
              return {
                  msg:"aaa component"
              }
          },
          template:`<h3 style="color: aqua;">{{msg}}</h3>`
      })

      Vue.component("myCountData", {
          data() {
              return {}
          },
          template:`<h3 style="color: skyblue;">good component</h3>`
      })
    var vm = new Vue({
      el:'#app',
      data:{
      },
      methods:{
      }
     });
  </script>
</body>
</html>
